package com.bestcem.xm.qdes.service;

import com.alibaba.fastjson.JSONObject;
import com.bestcem.xm.common.core.domain.web.XmResultJson;
import com.bestcem.xm.component.mybatis.service.IXmService;
import com.bestcem.xm.qdes.controller.param.ImageUploadParam;
import com.bestcem.xm.qdes.entity.UploadFileInfo;
import org.springframework.web.multipart.MultipartFile;

public interface UploadFileInfoService extends IXmService<UploadFileInfo> {

    String uploadFileInfo(MultipartFile file, ImageUploadParam imageUploadParam) throws Exception;

    JSONObject postUpload(MultipartFile file, String param) throws Exception;

    String putUpload(MultipartFile file, String id) throws Exception;

    XmResultJson<Object> getFilemapQrcode(String fileMapId);
}
